package org.hobbyhorse.ranks.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.uibinder.client.UiHandler;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Tree;
import com.google.gwt.user.client.ui.Widget;

public class BaseTablesMenu extends Composite {

	@UiField Tree tree;
	@UiField Label lblExpenseItems;
	@UiField Label lblCountries;
	@UiField Label lblCategories;

	private static BaseTablesMenuUiBinder uiBinder = GWT
			.create(BaseTablesMenuUiBinder.class);

	interface BaseTablesMenuUiBinder extends UiBinder<Widget, BaseTablesMenu> {
	}

	public BaseTablesMenu() {
		initWidget(uiBinder.createAndBindUi(this));
	}
	@UiHandler("lblExpenseItems")
	void onLblExpenseItemsClicked(ClickEvent event) {
		Window.alert("If this were implemented, you would be signed out now.");
	}
	@UiHandler("lblCountries")
	void onLblCountriesClicked(ClickEvent event) {
		Window.alert("If this were implemented, you would be signed out now.");
	}
	@UiHandler("lblCategories")
	void onLblCategoriesClicked(ClickEvent event) {
		Window.alert("If this were implemented, you would be signed out now.");
	}

}
